import React from 'react'
import { Input } from 'antd'

const { TextArea } = Input

function Main ({ value, onChange }) {
  return (
    <TextArea placeholder='请输入' autoSize={{ minRows: 3 }} value={value} onChange={onChange} />
  )
}

export default Main
